﻿// -----------------------------------------------------------------------
// <copyright file="Hashtable.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace VSIXUtilities.DataObjects
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Collections;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Hashtable<K, V> : Hashtable
    {
        public void Add(K key, V value)
        {
            base.Add(key, value);
        }

        new private void Add(object key, object value)
        {
            base.Add(key, value);
        }

        public new V this[K key]
        {
            get
            {
                return (V)base[key];
            }
            set
            {
                base.Add(key, value);
            }
        }

        //public void Add(K key, V value)
        //{
        //    base.Add(key, value);
        //}
    }
}
